package com.lmqb.service;

import java.util.List;

import com.lmqb.bean.LmUser;
import com.lmqb.bean.SysBlack;
import com.lmqb.bean.SysWhiteList;
import com.lmqb.page.SysWhiteListrPager;

public interface SysWhiteListService {

    SysWhiteList  selectByPrimaryKey(Integer whiteId);
	
	int insert(SysWhiteList sysWhiteList);
	
	int deleteByPrimaryKey(SysWhiteList sysWhiteList);
	
	SysWhiteListrPager selectAll(SysWhiteListrPager pagerModel);
	
	Integer selectCount(SysWhiteListrPager pagerModel);
	
	int updateBySysWhiteList(SysWhiteList sysWhiteList);
	
	Integer selectByMobile(String userMobile);//查黑名单有没有用户
	
	int deleteByMobile(String userMobile);//根据手机号删除黑名单
	
	LmUser selectLmUserByMobile(String userMobile);//通过手机号找用户
}
